import Visitor

class Item:
    def accept(slef,visit : Visitor.Visitor):
        pass
    def getPrice(self):
        pass

class Book(Item):
    def __init__(self, price:float):
        self.price = prcie
    def accept(self,visitor : Visitor.Visitor):
        visitor.visit(self)
    def getPrice(self):
        return self.price

